<%@ page pageEncoding="UTF-8"%>
<%@ taglib prefix="tiles"  uri="http://tiles.apache.org/tags-tiles"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<!DOCTYPE html>
<!-- Website template by freewebsitetemplates.com -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>끼리끼리에 오신것을 환영합니다.</title>
<link rel="stylesheet" href="../css/style.css" type="text/css" />
<!--[if IE 6]>
			<link rel="stylesheet" href="../css/ie6.css" type="text/css" />
		<![endif]-->
<!--[if IE 7]>
			<link rel="stylesheet" href="../css/ie7.css" type="text/css" />
		<![endif]-->
</head>
<body>
	<div class="header">
		<div>
			<a href="index.do" id="logo"><img src="../images/log1.png"
				alt="logo" /></a>
			<div class="navigation">
				<ul class="first">
					<li>
						<c:if test="${!empty userid}">
					  		<a><b>${userid}</b>님 반갑습니다^^</a>
					  	</c:if> 
					  	<c:if test="${empty userid}">
					  		<a>끼리끼리에 오신 걸 환영합니다.</a>
					  	</c:if>
					</li>
					
					  	<c:if test="${!empty userid}">
					  	<li>
					  		<a href="memberlogout.do">로그아웃</a>
					  	</li>
					  	<li>
					  		<a href="orderlist.do">주문내역</a>
					  	</li>
					  	</c:if>
					  	<c:if test="${empty userid}">
					  	<li>
					  		<a href="memberlogin.do">로그인</a>
					  	</li>
					  	</c:if>
				  				
					<li>
						<c:if test="${!empty userid}">
					  		<a href="updateMember.do?userid=${userid}">내 정보</a>
					  	</c:if>
					  	<c:if test="${empty userid}">
					  		<a href="memberjoin.do">회원가입</a>
					  	</c:if>
					</li>
						  	
				</ul>
			</div>
			<form action="search.do" class="search" method="get">
				<input type="hidden" value="" name="keyField">
				<input type="text" value="search" name="keyWord"
					onblur="this.value=!this.value?'search':this.value;"
					onfocus="this.select()" onclick="this.value='';" />
					 <input	type="submit" id="submit" value="" />
			</form>
		</div>
		<div id="navigation">
			<ul>
				<li class="selected"><a href="index.do">Home</a></li>
				<li><a href="market.do">마켓끼리</a></li>
				<li><a href="gonggu.do">공구끼리</a></li>
				<li><a href="milege.do">마일리지</a></li>
				<li><a href="qboardlist.do">고객센터</a></li>
				
			</ul>
		</div>
	</div>
	

</body>
</html>